package net.xumf.support.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 密码修改dto
 */
@Data
public class PasswordChangeDTO {

    // 用户id
    @NotNull
    private Long Id;
    // 密码
    @NotBlank
    @Size(min = 6, max = 20)
    private String password;
}
